using System;
using System.Collections.Specialized;

namespace InsightServiceUtility
{
    public class Error
    {
        #region Private Components
        private int m_errorCode = 0;
        private string m_errorDescription = "";
        #endregion

        #region Public Properties

        public int ErrorCode
        {
            get { return this.m_errorCode; }
            set { this.m_errorCode = value; }
        }

        public string ErrorDescription
        {
            get { return this.m_errorDescription; }
            set { this.m_errorDescription = value; }
        }      


        #endregion

        #region Constructors

        public Error()
        {

        }

        #endregion

        #region Methods
        public void SetError(int code, string description)
        {
            this.m_errorCode = code;
            this.m_errorDescription = description;
        }


        #endregion
    }
}
